package com.ehome.emergency.common;

/**
 * BasicFramework
 *
 * @author: 郝晓雷
 * @date: 2016-01-26 21:44
 * @desc: 常量
 */
public abstract class Constant {
    public static final String ADMIN = "admin";

    public static final String STATUS = "status";            // 状态
    public static final String WARNING = "warning";          // 警告
    public static final String SUCCESS = "success";          // 成功
    public static final String ERROR = "error";              // 错误
    public static final String MSG = "msg";                  // 消息
    public static final String INCOMPLETE = "incomplete";    // 不完整
    public static final String EXIST = "exist";              // 已存在

    public static final String DATA = "data";                // 数据集
    public static final String ROWS = "rows";                // 数据行
    public static final String TOTAL = "total";              // 数据总行数





    // 放到session里的key
    public static final String ACCOUNT = "account";               // 登录账号对象
    public static final String ACCOUNT_ID = "accountId";          // 登录账号Id
    public static final String USER_NAME = "userName";            // 登录用户名
    public static final String STAFF_NAME = "staffName";          // 员工姓名
    public static final String DEPT_NAME = "deptName";            // 部门名称
    public static final String TENANT_ID = "tenantId";            // 租户Id
    public static final String ENTERPRISE_ID = "enterpriseId";    // 企业Id
    public static final String ENTERPRISE_NAME = "enterpriseName";// 企业名称

    public static final String LOGIN_RANDOM = "loginRandom";      // 返回给登录页面的64位随机字符串，用作登录加密用

}
